package com.walter.model.vo;

import com.walter.util.Kv;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author ：ch
 * @date ：Created in 2021/5/25
 * @description：
 * @modified By：
 * @version: 1.0
 */
@Data
@Accessors(chain = true)
public class ServerMonitorInfo {
    @ApiModelProperty("CPU数量")
    private Integer cpuCount;

    @ApiModelProperty("系统CPU使用率")
    private Double cpuUsage;

    @ApiModelProperty("应用最新启动时间点")
    private Date lastStartTime;

    @ApiModelProperty("应用最新一次已运行时间 秒")
    private Long lastUptime;

    @ApiModelProperty("内存总量 MB")
    private Double totalRAM;

    @ApiModelProperty("内存可用大小 MB")
    private Double availableRAM;

    @ApiModelProperty("内存已用大小 MB")
    private Double usedRAM;

    private BigDecimal usedRAMPercent;

    @ApiModelProperty("硬盘信息(driveLetter、total、available、used)列表 MB")
    private List<Kv> harddiskInfoList;

    @ApiModelProperty("最新更新时间")
    private Date lastUpdateTime;
}
